-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no deprecation warning if custom_parent_classes==[] #93
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, excellent finding! Thank you for opening the pr.
👍 Would love to see this merged in. My test suite gets spammed with these deprecation messages atm! |
Same thing here! 👍 Good work, guys. |
Please merge this in :). |
Is there a way to pull this into the gem locally and use it? |
Merge, please =) |
Merge possible? |
Merge please! 👍 |
We still need a merge....But on another note - Please optimize the embedded queries to minimize the the chance of receiving an n+1 query. |
As mentioned in #89 (comment) and in some of the issues like #91, the current
master
version is issuing unnecessary deprecation warnings whencustom_parent_classes == []
.Merging #89 will make this PR moot, because that refactors away the
custom_parent_classes
object entirely. That would be my personal recommendation.But, if there is hesitation to merge #89 for whatever reason, then we can at least merge this in the meantime and remove some of those unnecessary warnings. We could then aim to merge #89 at some later point in time.